package com.vincent.template.repository;

import com.vincent.template.commons.base.BaseJpaRepository;
import com.vincent.template.domain.SysUserPo;

/**
 * @author Vincent Wang
 * @date 2020/12/30 11:30
 */
public interface SysUserRepository extends BaseJpaRepository<SysUserPo, String> {
    SysUserPo findByUsernameAndDeletedFalse(String username);

    int deleteByUsername(String username);
}
